﻿<Window x:Class="MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:app="clr-namespace:DuoDockApp"
    Title="" Height="600" Width="1100" Background="Black" WindowStyle="None" WindowState="Maximized" ShowInTaskbar="False">
    <Grid Name="LayoutRoot">
        <Grid.Resources>
            <Style TargetType="TextBlock">
                <Setter Property="Foreground" Value="White" />
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="HorizontalAlignment" Value="Center" />
            </Style>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <RowDefinition Height="45" />
            <RowDefinition Height="100*" />
            <RowDefinition Height="45" />
        </Grid.RowDefinitions>
        <MediaElement Grid.Row="0" Grid.RowSpan="3"  Name="mpBackground" Visibility="Collapsed" Stretch="UniformToFill" Volume="0" />
        <MediaElement Name="mpAlarm" Visibility="Collapsed" />
        <MediaElement Name="mpBackgroundSound" Visibility="Collapsed"  />
        <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left">
            <Image Source="/DuoDockApp;component/Resources/Battery.png" Width="30" />
            <TextBlock Name="txtBattery" />
        </StackPanel>
        <StackPanel Grid.Row="0" Name="pnlAlarm" HorizontalAlignment="Center" Orientation="Horizontal">
            <Image Source="/DuoDockApp;component/Resources/Alerts.png" />
            <TextBlock  Name="txtAlarmTime" Text="6:00 AM" FontSize="28" FontWeight="SemiBold" Margin="7,0,0,0" />
        </StackPanel>
        <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Name="cmdClose" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" Width="60">
                <Image Source="/DuoDockApp;component/Resources/Close_16xLG.png" />
            </Button>
        </StackPanel>

        <StackPanel Grid.Row="1" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
            <TextBlock Name="txtTime" Text="12:00 PM" FontSize="156" FontWeight="Bold">
                <TextBlock.Foreground>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="#666666" Offset="1" />
                    </LinearGradientBrush>
                </TextBlock.Foreground>
            </TextBlock>
            <TextBlock Name="txtDate" Text="Saturday, March 18, 2013" FontSize="58" FontWeight="Bold">
                <TextBlock.Foreground>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="White" Offset="0" />
                        <GradientStop Color="#666666" Offset="1" />
                    </LinearGradientBrush>
                </TextBlock.Foreground>
            </TextBlock>
        </StackPanel>
        
        <StackPanel Name="pnlAlarmNotification" Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center" Visibility="Collapsed">
            <Button Name="cmdConfirmAlarm" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10">
                <Border Width="320" Height="180" BorderBrush="Red" CornerRadius="28">
                    <Border.Background>
                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                            <GradientStop Color="#33aa33" Offset="0" />
                            <GradientStop Color="#008800" Offset="1" />
                        </LinearGradientBrush>
                    </Border.Background>                    
                    <TextBlock Text="CONFIRM" Foreground="White" FontSize="50" FontWeight="SemiBold" />
                </Border>
            </Button>
            <Button Name="cmdDelayAlarm" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="10">
                <Border Width="320" Height="180" BorderBrush="Red" CornerRadius="28">
                    <Border.Background>
                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                            <GradientStop Color="#cc3333" Offset="0" />
                            <GradientStop Color="#aa0000" Offset="1" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <TextBlock Text="DELAY" Foreground="White" FontSize="50" FontWeight="SemiBold" />
                </Border>
            </Button>
        </StackPanel>
        
        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button Name="cmdBlankScreen" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" Width="60">
                <Image Source="/DuoDockApp;component/Resources/Lightbulb_32xLG.png" />
            </Button>
        </StackPanel>
        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left">
            <Button Name="cmdOptions" Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" BorderThickness="0" Width="60">
                <Image Source="/DuoDockApp;component/Resources/gear_32xLG.png" />
            </Button>
        </StackPanel>
        <app:ucSettings Grid.Row="1" x:Name="settings" Width="500" HorizontalAlignment="Left" Opacity="0" />

    </Grid>
</Window>
